package tw.com.book.api.task03;

import tw.com.book.componet.IssueBussinessException;
import tw.com.book.dto.Task003DTO;
import android.content.Context;

/**
 * 使用者服務介面
 * 
 * @author Andy
 * 
 */
public interface Task03Service {
	final static String USER_SHARE = "user_share";
	final static String LOGGING_ACTION = "LOGGING_ACTION";
	final static String SIGN_ACTION = "SIGN_ACTION";
	
	
	
	final static String IS_REMBERED="isRembered";
	final static String EMAIL="emial";
	

	public void initValue(Task003DTO dto, Context context)
			throws IssueBussinessException;

	public void signAccount(Task003DTO dto, Context context)
			throws IssueBussinessException;

	/**
	 * 登入資料
	 * 
	 * @param dto
	 * @param context
	 * @throws IssueBussinessException
	 */
	public void loginAccount(Task003DTO dto, Context context)
			throws IssueBussinessException;

	/**
	 * 註冊帳號
	 * 
	 * @param dto
	 * @param context
	 * @throws IssueBussinessException
	 */
	public void registerAccount(Task003DTO dto, Context context)
			throws IssueBussinessException;

}
